import fetch from 'common/src/utils/fetch'


/**
 * 选课常量列表
 */
export const getPEFreeListUrl = '/api/electionservice/elcPeFreeStds/list';

/**
 * 新增
 */
export function addPEFree(data) {
    return fetch({
        url: '/api/electionservice/elcPeFreeStds/add',
        method: 'post',
        data: data
    });
}

/**
 * 添加学生初始化数据
 */
export const addStudentInfoUrl = '/api/electionservice/elcPeFreeStds/addStudentInfo';
/**
 * 删除
 */
export function delPEFree(data) {
    return fetch({
        url: '/api/electionservice/elcPeFreeStds/delete',
        method: 'post',
        data: data
    });
}


